html, body {
  width: 100%;
  height: 100%;
}

html {
  line-height: initial;
}

html, body, div, input, ul, ol, li, h1, h2, h3, h4, h5, h6, button, img, p, span, a {
  margin: 0;
  padding: 0;
}

.main {
  width: 100%;
  height: 100%;
  background: url("../img/background.jpg") no-repeat;
  background-size: 100% 100%;
  position: relative;
  z-index: 9999;
  overflow: hidden;
  opacity: 0;
}

.animate .main {
  opacity: 1;
}

.lantern {
  width: 38.4%;
  height: 25%;
  background: url("../img/lantern@2x.png") no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0;
  /*filter: alpha(opacity=0);*/
  /*transition: opacity 0.5s linear;*/
  /*-moz-transition: opacity 0.5s linear;*/
  /*-webkit-transition: opacity 0.5s linear;*/
  /*-o-transition: opacity 0.5s linear;*/
}

.animate .lantern {
  opacity: 1;
}

.cloud-top {
    width: 20.8%;
    height: 5.1%;
    background: url("../img/cloud-top-18@2x.png") no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: 26.4%;
    right: 8.3%;
    opacity: 0;
    transition:opacity 0.4s linear 1.7s;
    -moz-transition: opacity 0.4s linear 1.7s;
    -webkit-transition: opacity 0.4s linear 1.7s;
    -o-transition:opacity 0.4s linear 1.7s;
}

.animate .cloud-top {
  opacity: 1;
  animation: move-left 3s linear infinite;
  -webkit-animation: move-left 3s linear infinite;
}

@keyframes move-left {
    0%{
        transform:translateX(0);
        -ms-transform:translateX(0);
        -moz-transform:translateX(0);
        -webkit-transform:translateX(0);
        -o-transform:translateX(0);
    }
    40%{
        transform:translateX(-34.8%);
        -ms-transform:translateX(-34.8%);
        -moz-transform:translateX(-34.8%);
        -webkit-transform:translateX(-34.8%);
        -o-transform:translateX(-34.8%);
    }
    50%{
        transform:translateX(-32.5%);
        -ms-transform:translateX(-32.5%);
        -moz-transform:translateX(-32.5%);
        -webkit-transform:translateX(-32.5%);
        -o-transform:translateX(-32.5%);

    }
    100%{
        transform:translateX(0);
        -ms-transform:translateX(0);
        -moz-transform:translateX(0);
        -webkit-transform:translateX(0);
        -o-transform:translateX(0);
    }
}

@-webkit-keyframes move-left {
    0%{
        transform:translateX(0);
        -ms-transform:translateX(0);
        -moz-transform:translateX(0);
        -webkit-transform:translateX(0);
        -o-transform:translateX(0);
    }
    40%{
        transform:translateX(-34.8%);
        -ms-transform:translateX(-34.8%);
        -moz-transform:translateX(-34.8%);
        -webkit-transform:translateX(-34.8%);
        -o-transform:translateX(-34.8%);
    }
    50%{
        transform:translateX(-32.5%);
        -ms-transform:translateX(-32.5%);
        -moz-transform:translateX(-32.5%);
        -webkit-transform:translateX(-32.5%);
        -o-transform:translateX(-32.5%);

    }
    100%{
        transform:translateX(0);
        -ms-transform:translateX(0);
        -moz-transform:translateX(0);
        -webkit-transform:translateX(0);
        -o-transform:translateX(0);
    }
}

.font-main {
    width: 61.7%;
    height: 59.6%;
    background: url("../img/font-main@2x_03.png") no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: 13.7%;
    left: 18.5%;
    opacity: 0;
    transition:opacity 0.5s linear 0.5s;
    -moz-transition: opacity 0.5s linear 0.5s;
    -webkit-transition: opacity 0.5s linear 0.5s;
    -o-transition:opacity 0.5s linear 0.5s;
}

.animate .font-main {
  opacity: 1;
}

.letter-font {
    width: 14.5%;
    height: 12.5%;
    background: url("../img/little-font@2x_03.png") no-repeat;
    background-size: 100% 100%;
    position: absolute;
    bottom: 32.7%;
    left: 31.2%;
    opacity: 0;
    filter: alpha(opacity=0);
    z-index: 1;
    transition:opacity 0.4s linear 1.7s;
    -moz-transition: opacity 0.4s linear 1.7s;
    -webkit-transition: opacity 0.4s linear 1.7s;
    -o-transition:opacity 0.4s linear 1.7s;
}

.animate .letter-font{
    opacity:1;
}

.cloud-bot {
    width: 19.2%;
    height: 4.65%;
    background: url("../img/cloud-bot-17@2x.png") no-repeat;
    background-size: 100% 100%;
    position: absolute;
    bottom: 29%;
    left: 17.87%;
    opacity: 0;
    transition:opacity 0.4s linear 1.7s;
    -moz-transition: opacity 0.4s linear 1.7s;
    -webkit-transition: opacity 0.4s linear 1.7s;
    -o-transition:opacity 0.4s linear 1.7s;
}

.animate .cloud-bot {
  opacity: 1;
  animation: move-right 3s linear infinite;
  -webkit-animation: move-right 3s linear infinite;
}

@keyframes move-right {
    0%{
        transform:translateX(0);
        -ms-transform:translateX(0);
        -moz-transform:translateX(0);
        -webkit-transform:translateX(0);
        -o-transform:translateX(0);
    }
    40%{
        transform: translateX(27.37%);
        -ms-transform: translateX(27.37%);
        -moz-transform: translateX(27.37%);
        -webkit-transform: translateX(27.37%);
        -o-transform: translateX(27.37%);
    }
    50%{
        transform:translateX(25.07%);
        -ms-transform:translateX(25.07%);
        -moz-transform:translateX(25.07%);
        -webkit-transform:translateX(25.07%);
        -o-transform:translateX(25.07%);
    }
    100%{
        transform:translateX(0);
        -ms-transform:translateX(0);
        -moz-transform:translateX(0);
        -webkit-transform:translateX(0);
        -o-transform:translateX(0);
    }
}

@-webkit-keyframes move-right {
    0%{
        transform:translateX(0);
        -ms-transform:translateX(0);
        -moz-transform:translateX(0);
        -webkit-transform:translateX(0);
        -o-transform:translateX(0);
    }
    40%{
        transform: translateX(27.37%);
        -ms-transform: translateX(27.37%);
        -moz-transform: translateX(27.37%);
        -webkit-transform: translateX(27.37%);
        -o-transform: translateX(27.37%);
    }
    50%{
        transform:translateX(25.07%);
        -ms-transform:translateX(25.07%);
        -moz-transform:translateX(25.07%);
        -webkit-transform:translateX(25.07%);
        -o-transform:translateX(25.07%);
    }
    100%{
        transform:translateX(0);
        -ms-transform:translateX(0);
        -moz-transform:translateX(0);
        -webkit-transform:translateX(0);
        -o-transform:translateX(0);
    }
}

.chicken {
    width: 50.8%;
    height: 23.4%;
    position: absolute;
    left: 25%;
    bottom: 0;
    background: url("../img/chicken.png") no-repeat;
    background-size: 100% 100%;
    opacity: 0;
    filter: alpha(opacity=0);
    transition:opacity 0.4s linear 2.1s;
    -moz-transition: opacity 0.4s linear 2.1s;
    -webkit-transition: opacity 0.4s linear 2.1s;
    -o-transition:opacity 0.5s linear 3.5s;
}

.animate .chicken {
  opacity: 1;
}

.last-light {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: url("../img/last-light.png") no-repeat;
    background-size: 100% 100%;
    z-index: 1;
    opacity: 0;
    filter: alpha(opacity=0);
    transition:opacity 0.6s linear 0.7s;
    -moz-transition: opacity 0.6s linear 0.7s;
    -webkit-transition: opacity 0.6s linear 0.7s;
    -o-transition:opacity 0.6s linear 0.7s;
}

.animate .last-light {
  opacity: 1;
}

@keyframes showLight1 {
  0% {
    opacity: 0;
    filter: alpha(opacity=0);
  }
  100% {
    opacity: 1;
    filter: alpha(opacity=100);
  }
}

@-webkit-keyframes showLight1 {
  0% {
    opacity: 0;
    filter: alpha(opacity=0);
  }
  100% {
    opacity: 1;
    filter: alpha(opacity=100);
  }
}

.picture {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    filter:alpha(opacity=0);
}

.animate .picture {
  opacity: 1;
  animation: allPicture 1s steps(20) forwards 0.7s;
  -webkit-animation: allPicture 1s steps(20) forwards 0.7s;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
}

@keyframes allPicture {
    0%{
        transform: translateY(0);
    }
    100% {
        transform: translateY(-2000%);
    }
}

@-webkit-keyframes allPicture {
    0%{
        transform: translateY(0);
    }
    100% {
        transform: translateY(-2000%);
    }
}

.picture1, .picture2, .picture3, .picture4, .picture5, .picture6, .picture7, .picture8, .picture9, .picture10, .picture11, .picture12, .picture13, .picture14, .picture15, .picture16, .picture17, .picture18, .picture19, .picture20 {
    width: 100%;
    height: 100%;
    position: relative;
    opacity: 1;
}

.picture1 {
    background: url("../img/light-1.png") no-repeat;
    background-size: 100% 100%;
    opacity:0;
    transition:opacity 0.1s linear 1.2s;
    -moz-transition: opacity 0.1s linear 1.2s;
    -webkit-transition: opacity 0.1s linear 1.2s;
    -o-transition:opacity 0.1s linear 1.2s;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
}

.animate .picture1 {
    opacity: 1;
}

.picture2 {
  background: url("../img/light-2.png") no-repeat;
  background-size: 100% 100%;
}

.picture3 {
  background: url("../img/light-3.png") no-repeat;
  background-size: 100% 100%;
}

.picture4 {
  background: url("../img/light-4.png") no-repeat;
  background-size: 100% 100%;
}

.picture5 {
  background: url("../img/light-5.png") no-repeat;
  background-size: 100% 100%;
}

.picture6 {
  background: url("../img/light-6.png") no-repeat;
  background-size: 100% 100%;
}

.picture7 {
  background: url("../img/light-7.png") no-repeat;
  background-size: 100% 100%;
}

.picture8 {
  background: url("../img/light-8.png") no-repeat;
  background-size: 100% 100%;
}

.picture9 {
  background: url("../img/light-9.png") no-repeat;
  background-size: 100% 100%;
}

.picture10 {
  background: url("../img/light-10.png") no-repeat;
  background-size: 100% 100%;
}

.picture11 {
  background: url("../img/light-11.png") no-repeat;
  background-size: 100% 100%;
}

.picture12 {
  background: url("../img/light-12.png") no-repeat;
  background-size: 100% 100%;
}

.picture13 {
  background: url("../img/light-13.png") no-repeat;
  background-size: 100% 100%;
}

.picture14 {
  background: url("../img/light-14.png") no-repeat;
  background-size: 100% 100%;
}

.picture15 {
  background: url("../img/light-15.png") no-repeat;
  background-size: 100% 100%;
}

.picture16 {
  background: url("../img/light-16.png") no-repeat;
  background-size: 100% 100%;
}

.picture17 {
  background: url("../img/light-17.png") no-repeat;
  background-size: 100% 100%;
}

.picture18 {
  background: url("../img/light-18.png") no-repeat;
  background-size: 100% 100%;
}

.picture19 {
  background: url("../img/light-19.png") no-repeat;
  background-size: 100% 100%;
}

.picture20 {
  background: url("../img/light-20.png") no-repeat;
  background-size: 100% 100%;
}
